package cn.zn.modules.appoin.service.impl;

import cn.zn.modules.appoin.dao.AtrSpecialWorkTimeDao;
import cn.zn.modules.appoin.entity.AtrSpecialWorkTime;
import cn.zn.modules.appoin.service.AtrSpecialWorkTimeService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AtrSpecialWorkTimeServiceImpl extends ServiceImpl<AtrSpecialWorkTimeDao, AtrSpecialWorkTime> implements AtrSpecialWorkTimeService {

    @Override
    public List<AtrSpecialWorkTime> findBySpecial(String specialId) {
        return super.list(new QueryWrapper<AtrSpecialWorkTime>().eq("SPECIAL_ID_", specialId));
    }
}
